﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WowParserLib.Events.SuffixArgs
{
    public class DamageArgs : SuffixArg
    {
        private int _amount;

        public int Amount
        {
            get { return _amount; }
        }
        private SpellSchool _school;

        public SpellSchool School
        {
            get { return _school; }
        }
        private int _resisted;

        public int Resisted
        {
            get { return _resisted; }
        }
        private int _blocked;

        public int Blocked
        {
            get { return _blocked; }
        }
        private int _absorbed;

        public int Absorbed
        {
            get { return _absorbed; }
        }
        private bool _critical;

        public bool Critical
        {
            get { return _critical; }
        }
        private bool _glancing;

        public bool Glancing
        {
            get { return _glancing; }
        }
        private bool _crushing;

        public bool Crushing
        {
            get { return _crushing; }
        }

        public DamageArgs(int amount, SpellSchool school, int resisted, int blocked, int absorbed, bool critical, bool glancing, bool crushing)
            : base()
        {
            _amount = amount;
            _school = school;
            _resisted = resisted;
            _blocked = blocked;
            _absorbed = absorbed;
            _critical = critical;
            _glancing = glancing;
            _crushing = crushing;
        }
    }
}
